home *** CD-ROM | disk | FTP | other *** search
/ Freelog Special Edition 13 / FreelogHS13.iso / P To P / Emule24b_Morph_Mod_V4b-binary / Webserver / FirstTime.emule < prev    next >
Encoding:
Text File  |  2003-01-10  |  1.7 KB  |  39 lines

  1. <html>
  2. <head>
  3.   <title>eMule</title>
  4. </head>
  5. <body style="background-image:url(images/about.gif); background-attachment:fixed; background-repeat:no-repeat; background-position: center center;" onresize="resize();">
  6. <a id="tx_firsttext" style="font-size: x-small;position:absolute;">This is the first time you access the eMule webfrontend.<br/>Please enter the new username and password.</a>
  7. <a id="tx_username" style="font-size: x-small;position:absolute;">Username</a>
  8. <a id="tx_password" style="font-size: x-small;position:absolute;">Password</a>
  9. <form action="login.emule" id="loginform" method="post">
  10.    <input name="un" type="text" style="position:absolute;border: solid, 1, black; font-size: xx-small;" size="20" maxlength="255"/>
  11.    <input name="pd" type="password" style="border: solid, 1, black; font-size: xx-small;position:absolute;" size="20" maxlength="255"/>
  12.    <input id="bt_send" type="submit" style="border: solid, 1, black; font-size: xx-small;position:absolute;" value="Send">
  13. </form>
  14. </body>
  15. </html>
  16. <script>
  17. resize();
  18. function resize()
  19. {
  20.   wW=document.body.clientWidth;
  21.   wH=document.body.clientHeight;
  22.  
  23.   tx_firsttext.style.left=wW/2-170;
  24.   tx_firsttext.style.top=wH/2+140;
  25.  
  26.   tx_username.style.left=wW/2-170;
  27.   tx_username.style.top=wH/2+180;
  28.   document.getElementsByName("un")[0].style.left=wW/2-170;
  29.   document.getElementsByName("un")[0].style.top=wH/2+200;
  30.  
  31.   tx_password.style.left=wW/2-10;
  32.   tx_password.style.top=wH/2+180;
  33.   document.getElementsByName("pd")[0].style.left=wW/2-10;
  34.   document.getElementsByName("pd")[0].style.top=wH/2+200;
  35.  
  36.   document.getElementById("bt_send").style.left=wW/2+130;
  37.   document.getElementById("bt_send").style.top=wH/2+198;
  38. }
  39. </script>